package cn.tianwt.proxy;

public interface Context {

	
	public void setTimeout(long timeout);
	
	public void setPort(int port);
	
	public int getPort();

	public long getTimeout();
	
	public void onCreated() throws Exception;

	public void onPause()  throws Exception;
	
	public void onStart()  throws Exception;
	
	public void onDestory()  throws Exception;

	public boolean isReady();

	public boolean isRunning();

	public boolean isPaused();
	
}
